
uvicorn --reload 2_fastapi_mqtt_订阅发布示例:app 
mosquitto_pub -h localhost -t "/mqtt" -m '{"code": 111}'
mosquitto_pub -h localhost -t "mqtt/222/temperature" -m '{"code": 111}'
mosquitto_pub -h localhost -t "mqtt/111/humidity" -m '{"code": 1111}'